package com.totem.order.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

@Data
public class UpdateWalletUSDTVO implements Serializable {
    @NotNull
    private Long customerId;
    @NotEmpty
    @Schema(description = "交易方向", example = "CREDIT-钱包余额减少,DEBIT-钱包余额增加")
    private String direction;
    @Schema(description = "增加或减少的金额")
    @NotEmpty
    private BigDecimal amount;
}
